<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%> 
<html>
<head>  
  <script type="text/javascript">
  function doSearch() {	 
	  grid.load({
			channel_grp: $('#channel_grp').val()						
		});
  }
  
  function addChannelgrp(url){	  
	  commonDetail(url,"save","channelgrpTableId");
  }
  function modifyChannelgrp(url){	  
	  commonDetail(url,"update","channelgrpTableId");
  }
  function deleteChannelgrp(url){	  
	  commonDel(url,"delete","channelgrpTableId");
  }
  var grid;
  $(document).ready(function() {
	  grid = $("#channelgrpTableId").jpgrid({
			url: "getChannelGrpListJson.do",
			columns: [
				{title: "通道组别编号", field: "CHANNEL_GRP",width:100},
				{title: "通道组别描述", field: "DESCPT"}												
			]
		});	  
  });
  </script>
</head>
<body class="easyui-layout list_body"  >
	<form id="channelgrpForm" name="channelgrpForm">
		<div class="list_body_north" data-options="region:'north'"  border="false" >
			<!-- 查询表单 -->
			<div  class="datagrid-toolbar" border="false"  >
				<span>通道组别编号:</span>
				<input id="channel_grp" type="text" name="channel_grp"  class="easyui-textbox"  >					
			 	<a href="#" class="easyui-linkbutton btn" iconCls="icon-search" onclick="doSearch() ">查询</a>
			 	<a href="#" class="easyui-linkbutton btn" iconCls="icon-reload" onclick="resetForm() ">重置</a>			
			</div>
			<!-- 自定义标签工具栏 -->
			<jiepos:buttonOperateTag menuCode="${menuCode}"></jiepos:buttonOperateTag>	
		</div>
		<div data-options="region:'center'" border="false"  class="list_body_center">		
			<!-- 表格 -->
			<table id="channelgrpTableId" fit="true"></table>
		</div>
	</form>
</body>


 </html>
